package com.hangxiang.approval.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * (UserManager)实体类
 *
 * @author makejava
 * @since 2020-12-04 15:30:00
 */
@Data
public class UserManager implements Serializable {
    private static final long serialVersionUID = -98556414800630428L;
    /**
     * id
     */
    @TableId(value="id", type= IdType.AUTO)
    private Integer id;
    /**
     * 用户ID
     */
    private Integer userId;
    /**
     * 用户姓名
     */
    private String userName;
    /**
     * 部门ID
     */
    private Integer groupId;
    /**
     * 部门名称
     */
    private String departmentName;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;


}